package com.cf.exception;

public class BaseException extends Exception {

    private static final long serialVersionUID = 1L;

    public String message;

    public BaseException() {
        super();
    }

    public BaseException(String message, Throwable cause) {
        super(cause);
        this.message = message;
    }

    public BaseException(String message) {
        super();
        this.message = message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
